package com.itheima.test03;

public class Test {

    public static void main(String[] args) {
        InterImpl inter= new InterImpl();
        inter.sing();
        Inter.jump();
    }
}
interface Inter{

    public default void sing(){
        System.out.println("如何回蚁窝");
    }

    public  static void jump(){
        System.out.println("跳一下");

    }

}
interface Inter2{

    public default void sing(){
        System.out.println("如何回蚁窝2");
    }

}
class InterImpl implements Inter,Inter2{


    @Override
    public void sing() {
        System.out.println("带着微笑或沉默");
    }
}